package cn.ecnu.pojo.recommend;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
@TableName(value = "recommend_require")
/*内推官-要求详情*/
public class RecommendRequire {

    @TableId(value = "user_id")
    @NotNull(message = "userId不能为空")
    private Integer userId;

    @NotEmpty(message = "岗位职责不能为空")
    private String responsibility;

    @NotEmpty(message = "岗位要求不能为空")
    private String positionRequire;
}
